<?php
include_once $_SERVER["DOCUMENT_ROOT"] . '/include/common.inc.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>注册会员</title>
		<meta http-equiv="content-type" content="text/html; charset=<?php echo $charset?>">
		<?php
			echo $commonCss;
			echo $commonJs;
		?>
	</head>
	<body>
	   <?php 
	       global $mysqlTools;
	       $codeUserTypes = $mysqlTools->code_query_common("code_user_type");
	   ?>
	   <form action="" name="register">
                         登录ID:<input type="text" name="userLoginId"/><br/>
                        登录密码:<input type="password" name="userPwd"/><br/>
                        确认密码:<input type="password" name="userRePwd"/><br/>
                        手机号码:<input type="text" name="userPhone"/><br/>
                        电话号码:<input type="text" name="userTel"/><br/>
                        邮箱地址:<input type="text" name="userEmail"/><br/>
                        用户类型:<select name="userTypeId">
                  <?php 
                      foreach ($codeUserTypes as $codeUserType){
                          echo "<option value='$codeUserType[id]'>$codeUserType[desc]</option>";
                      }
                  ?>
              </select><br/>
        <input type="button" value="添加用户" id="addUser"/>
	   </form>
	   <?php getPageJs("register/register.js");?>
	</body>
</html>